package model

import ()

type Account struct {
	Id      int64   `json:"id"`
	Name    string  `json:"name" xorm:"unique"`
	Balance float64 `json:"balance"`
	Version int     `json:"version" xorm:"version"` // Optimistic Locking
}

type Accounts []Account